package com.demo.studentidcard.entity;

import lombok.*;
import org.springframework.stereotype.Repository;

/**
 * @author 8
 * @date 2021/9/23 23:58
 */

@Repository
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Account {
    private String id;
    private String name;
    private String password;
    private int balance = 0;
    private boolean isLost = false;

    public Account(String id, String name, String password) {
        this.id = id;
        this.name = name;
        this.password = password;
    }
}
